def word_type(word):
    word_type = 'keyword'
    if len(word) == 13 and word.isdigit():
        word_type = 'isbn'
    stripped = word.replace('-', '')
    if '-' in word and len(stripped) == 10 and stripped.isdigit():
        word_type = 'isbn'
    return word_type
